﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="AD_Operation.aspx.cs" Inherits="admin_AD_Operation" EnableEventValidation="false"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title></title>
     <link href="img/admin_css.css" rel="stylesheet" type="text/css" />
             <SCRIPT>
function loadThreadFollow(t_id,b_id){
	var targetImg =eval("document.all.followImg" + t_id);
	var targetDiv =eval("document.all.follow" + t_id);
	if ("object"==typeof(targetImg)){
		if (targetDiv.style.display!='block'){
			targetDiv.style.display="block";
			
		}else{
			targetDiv.style.display="none";
		}
	}
}
</SCRIPT>
</head>
<body>
    <form id="form1" runat="server">
 <div>
    <table width="800" border="0" cellpadding="0" cellspacing="1" bgcolor="#cccccc">
  <tr>
    <td height="34" colspan="2" align="center" bgcolor="#757575"  class="font_1">发　布　广　告</td>
  </tr>
  <tr>
    <td width="19%" height="30" align="right" bgcolor="#F2F2F2" class="font_2">URL地址：</td>
    <td width="81%" bgcolor="#FAFAFA"><asp:TextBox ID="TextBox1" runat="server" Width="247px"></asp:TextBox></td>
  </tr>
  <tr>
    <td height="30" align="right" bgcolor="#F2F2F2" class="font_2">上传广告：</td>
    <td bgcolor="#FAFAFA"><asp:TextBox ID="TextBox2" runat="server" Width="247px"></asp:TextBox>
    <span id="followImg1" onclick="loadThreadFollow(1,5)" style="cursor: hand"><font size="2">上传图片↓</font></span></td>
  </tr>
    <tr id=follow1 style="DISPLAY: none">
    <td height="30" align="right" bgcolor="#F2F2F2" class="font_2"></td>
    <td bgcolor="#FAFAFA"><asp:FileUpload ID="FileUpload1" runat="server" Width="322px"  Height="22" />
      <asp:Button ID="Upad" runat="server" Text="上传" OnClick="Upad_Click"/>     </td>
  </tr>
    <tr>
      <td height="30" align="right" bgcolor="#F2F2F2" class="font_2">推荐位置：</td>
      <td bgcolor="#FAFAFA"> <asp:RadioButtonList ID="RadioButtonList1" runat="server" Width="547px" RepeatLayout="Flow">
              <asp:ListItem Value="0" Selected="True">暂不选择</asp:ListItem>
              <asp:ListItem Value="1">头部左广告&nbsp;&nbsp;&nbsp;<font color=red>(279×61)</font></asp:ListItem>
              <asp:ListItem Value="2">头部中间广告&nbsp;&nbsp;&nbsp;<font color=red>(407×61)</font></asp:ListItem>
              <asp:ListItem Value="3">头部右广告&nbsp;&nbsp;&nbsp;&nbsp;<font color=red>(255×61)</font></asp:ListItem>
              <asp:ListItem Value="4">JS切换区&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font color=red>(407×167)</font></asp:ListItem>
              <asp:ListItem Value="5">五金企业会员&nbsp;&nbsp;&nbsp;<font color=red>(50×167)</font></asp:ListItem>
              <asp:ListItem Value="6">供求专栏下面&nbsp;&nbsp;&nbsp;<font color=red>(279×166)</font></asp:ListItem>
              <asp:ListItem Value="7">行业市场分类下面&nbsp;&nbsp;&nbsp;<font color=red>(669×49)</font></asp:ListItem>
              <asp:ListItem Value="8">其他页头部广告&nbsp;&nbsp;&nbsp;<font color=red>(957×30)</font></asp:ListItem>
              
      </asp:RadioButtonList></td>
         
    </tr>
      <tr>
    <td width="19%" height="30" align="right" bgcolor="#F2F2F2" class="font_2">是否锁定：</td>
    <td width="81%" bgcolor="#FAFAFA"><asp:CheckBox ID="CheckBox1" runat="server" />是</td>
          
  </tr>
  <tr>
    <td height="38" align="right" bgcolor="#F2F2F2">&nbsp;</td>
    <td bgcolor="#FAFAFA">&nbsp;
    <asp:Button ID="btnAdd_AD" runat="server" Text="确 认 发　布" OnClick="btnAdd_AD_Click" /></td>
  </tr>
</table>
    </div>
    </form>
</body>
</html>
